[id].vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. <template>
  2. <!-- 页面头部 -->
  3. <HomePageHead></HomePageHead>
  4. <!-- 导航栏 -->
  5. <HomePageNavigation></HomePageNavigation>
  6. <!-- 列表页广告一 -->
  7. <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
  8. <!-- 资讯列表 -->
  9. <main class="index_main">
  10. <!-- 面包屑导航 -->
  11. <div class="breadcrumb phone_none">
  12. <div class="inner">
  13. <span class="location">当前位置:</span>
  14. <el-breadcrumb :separator-icon="ArrowRight">
  15. <el-breadcrumb-item>
  16. <NuxtLink to="/">首页</NuxtLink>
  17. </el-breadcrumb-item>
  18. <el-breadcrumb-item v-if="parent_name != ''">
  19. <NuxtLink :to="`/${targetSegment}/index.html`"> {{ parent_name }}</NuxtLink>
  20. </el-breadcrumb-item>
  21. <el-breadcrumb-item>
  22. <NuxtLink :to="`list-1.html`"> {{ routLevelTitle }}</NuxtLink>
  23. </el-breadcrumb-item>
  24. <el-breadcrumb-item>{{ routeNewsTtitle }}</el-breadcrumb-item>
  25. </el-breadcrumb>
  26. </div>
  27. </div>
  28. <div class="breadcrumb_box pc_none">
  29. <span class=" ">当前位置:</span>
  30. <NuxtLink to="/">首页</NuxtLink>
  31. <span class=" " v-if="parent_name !=''">&gt;</span>
  32. <NuxtLink :to="`/${targetSegment}/index.html`"> {{ parent_name }}</NuxtLink>
  33. <span class=" " >&gt;</span>
  34. <NuxtLink :to="`list-1.html`"> {{ routLevelTitle }}</NuxtLink>
  35. <span class="" >&gt;</span>
  36. <span class="" >{{ routeNewsTtitle }}</span>
  37. </div>
  38. <section class="index_2 clearfix">
  39. <img class="index_2_img" :src="img_one" :title="newsDetail.title" :alt="newsDetail.title">
  40. <div class="index_2_right">
  41. <h4 class="index_2_h4">{{ newsDetail.title }}</h4>
  42. <div class="index_2_ul clearfix phone_none">
  43. <div class="index_2_li clearfix">
  44. <label class="index_2_li_label">企业名称</label>
  45. <span class="index_2_li_text">{{ newsDetail.business_name }}</span>
  46. </div>
  47. <div class="index_2_li clearfix">
  48. <label class="index_2_li_label">联 系 人</label>
  49. <span class="index_2_li_text">{{ newsDetail.content_person }}</span>
  50. </div>
  51. <div class="index_2_li clearfix">
  52. <label class="index_2_li_label">电 &nbsp;&nbsp;&nbsp;&nbsp; 话</label>
  53. <span class="index_2_li_text">{{ newsDetail.telephone }}</span>
  54. </div>
  55. <div class="index_2_li clearfix">
  56. <label class="index_2_li_label">手 &nbsp;&nbsp;&nbsp;&nbsp; 机</label>
  57. <span class="index_2_li_text">{{ newsDetail.mobile }}</span>
  58. </div>
  59. <div class="index_2_li clearfix">
  60. <label class="index_2_li_label">传 &nbsp;&nbsp;&nbsp;&nbsp; 真</label>
  61. <span class="index_2_li_text">{{ newsDetail.fax }}</span>
  62. </div>
  63. <div class="index_2_li clearfix">
  64. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 箱</label>
  65. <span class="index_2_li_text">{{ newsDetail.email }}</span>
  66. </div>
  67. <div class="index_2_li clearfix">
  68. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 编</label>
  69. <span class="index_2_li_text">{{ newsDetail.post_code }}</span>
  70. </div>
  71. <div class="index_2_li clearfix">
  72. <label class="index_2_li_label">地 &nbsp;&nbsp;&nbsp;&nbsp; 址</label>
  73. <span class="index_2_li_text">{{ newsDetail.address }}</span>
  74. </div>
  75. </div>
  76. <div class="index_2_ul clearfix pc_none">
  77. <div class="index_2_li clearfix">
  78. <label class="index_2_li_label">企业名称</label>
  79. <span class="index_2_li_text">{{ newsDetail.business_name }}</span>
  80. </div>
  81. <div class="index_2_li clearfix">
  82. <label class="index_2_li_label">电 &nbsp;&nbsp;&nbsp;&nbsp; 话</label>
  83. <span class="index_2_li_text">{{ newsDetail.telephone }}</span>
  84. </div>
  85. <div class="index_2_li clearfix">
  86. <label class="index_2_li_label">联 系 人</label>
  87. <span class="index_2_li_text">{{ newsDetail.content_person }}</span>
  88. </div>
  89. <div class="index_2_li clearfix">
  90. <label class="index_2_li_label">传 &nbsp;&nbsp;&nbsp;&nbsp; 真</label>
  91. <span class="index_2_li_text">{{ newsDetail.fax }}</span>
  92. </div>
  93. <div class="index_2_li clearfix">
  94. <label class="index_2_li_label">手 &nbsp;&nbsp;&nbsp;&nbsp; 机</label>
  95. <span class="index_2_li_text">{{ newsDetail.mobile }}</span>
  96. </div>
  97. <div class="index_2_li clearfix">
  98. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 箱</label>
  99. <span class="index_2_li_text">{{ newsDetail.email }}</span>
  100. </div>
  101. <div class="index_2_li clearfix">
  102. <label class="index_2_li_label">邮 &nbsp;&nbsp;&nbsp;&nbsp; 编</label>
  103. <span class="index_2_li_text">{{ newsDetail.post_code }}</span>
  104. </div>
  105. <div class="index_2_li clearfix">
  106. <label class="index_2_li_label">地 &nbsp;&nbsp;&nbsp;&nbsp; 址</label>
  107. <span class="index_2_li_text">{{ newsDetail.address }}</span>
  108. </div>
  109. </div>
  110. </div>
  111. </section>
  112. <section class="index_3 clearfix">
  113. <div class="show_head_box clearfix phone_none">
  114. <span class="show_head_a show_head_a_only">项目介绍</span>
  115. </div>
  116. <div class="phone_box_1 pc_none" >
  117. <div class="phone_box_1_head">
  118. <NuxtLink class="" >
  119. 项目介绍
  120. </NuxtLink>
  121. </div>
  122. </div>
  123. <article class="show_article" v-html="newsDetail.introduce">
  124. </article>
  125. </section>
  126. <section class="index_4 clearfix">
  127. <div class="show_head_box_2 clearfix phone_none">
  128. <span class="show_head_a_2 show_head_a_only_2">加盟详情</span>
  129. </div>
  130. <div class="phone_box_2 pc_none" >
  131. <div class="phone_box_1_head">
  132. <NuxtLink class="" >
  133. 加盟详情
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. <article class="show_article_2" v-html="newsDetail.franchise_details">
  138. </article>
  139. </section>
  140. <section class="index_4 clearfix">
  141. <div class="show_head_box_3 clearfix phone_none">
  142. <span class="show_head_a_3 show_head_a_only_3">图片展示</span>
  143. </div>
  144. <div class="phone_box_3 pc_none" >
  145. <div class="phone_box_1_head">
  146. <NuxtLink class="" >
  147. 图片展示
  148. </NuxtLink>
  149. </div>
  150. </div>
  151. <div class="img_ul_1 clearfix">
  152. <div class="img_li_1" title="" v-for="(item, index) in imgList" :key="index">
  153. <img class="img_li_1_img" :src="item" :title="newsDetail.title" :alt="newsDetail.title">
  154. </div>
  155. </div>
  156. </section>
  157. <section class="index_5 clearfix">
  158. <div class="index_2_head clearfix phone_none">
  159. <span class="index_2_head_a index_2_head_a_only" title="">精品项目推荐</span>
  160. </div>
  161. <div class="phone_box_4 pc_none" >
  162. <div class="phone_box_1_head">
  163. <NuxtLink class="" >
  164. 精品项目推荐
  165. </NuxtLink>
  166. </div>
  167. </div>
  168. <div class="categ_ul_img_1 phone_none">
  169. <div class="categ_li_img_1" v-for="(item, index) in recommend" :key="index">
  170. <a class="categ_li_img_1_a" :href="getLinkPathDetail(item)" :title="item.title">
  171. <img class="categ_li_img_1_img" :src="item.imgurl" :title="item.title" :alt="item.title">
  172. <div class="categ_li_img_1_dot2 dot2">
  173. {{ item.title }}
  174. </div>
  175. </a>
  176. </div>
  177. </div>
  178. <div class="phone_img_ul pc_none">
  179. <div class="phone_img_li" v-for="(item, index) in recommend.slice(0, 4)" :key="index">
  180. <a class="phone_img_li_a" :href="getLinkPathDetail(item)" :title="item.title">
  181. <img class="phone_img_li_img" :src="item.imgurl" :title="item.title" :alt="item.title">
  182. <div class="phone_img_li_dot2 dot2">
  183. {{ item.title }}
  184. </div>
  185. </a>
  186. </div>
  187. </div>
  188. </section>
  189. </main>
  190. <HomeTopTen :imgurl="adImg2" v-if="adImg2"></HomeTopTen>
  191. <!-- 页面底部 -->
  192. <HomeFoot1></HomeFoot1>
  193. </template>
  194. <script setup>
  195. //1.页面依赖 start ---------------------------------------->
  196. import { onMounted } from 'vue'
  197. import { ElBreadcrumb, ElBreadcrumbItem } from 'element-plus'
  198. import { ArrowRight } from '@element-plus/icons-vue'
  199. //1.页面依赖 end ---------------------------------------->
  200. //2.页面路径 start ---------------------------------------->
  201. const route = useRoute();
  202. const articleId = parseInt(route.params.id);
  203. const targetSegment = getRoutePath(1);
  204. const targetSegment1 = getRoutePath(2);
  205. const parent_name = ref("");
  206. const parent_id = ref("");
  207. //通过导航路径反向查询导航id
  208. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  209. method: 'GET',
  210. query: {
  211. 'pinyin': targetSegment,
  212. },
  213. });
  214. if (getRouteId.code == 200) {
  215. parent_name.value = getRouteId.data.alias;
  216. parent_id.value = getRouteId.data.category_id;
  217. } else {
  218. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  219. console.log("错误位置:通过url路径查询导航池id")
  220. console.log("后端错误反馈:", getRouteId.message)
  221. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  222. }
  223. //2.页面路径 end ---------------------------------------->
  224. //3.面包屑 start ---------------------------------------->
  225. const routLevelTitle = ref("");
  226. const routLevelId = ref("");
  227. const getRouteId1 = await requestDataPromise('/web/getWebsiteRoute', {
  228. method: 'GET',
  229. query: {
  230. 'pinyin': targetSegment + '/' + targetSegment1
  231. },
  232. });
  233. if (getRouteId1.code == 200) {
  234. routLevelTitle.value = getRouteId1.data.alias;
  235. routLevelId.value = getRouteId1.data.category_id;
  236. } else {
  237. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  238. console.log("错误位置:通过url路径查询导航池id")
  239. console.log("后端错误反馈:", getRouteId.message)
  240. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  241. }
  242. //3.面包屑 end ---------------------------------------->
  243. //4.新闻详情 start ---------------------------------------->
  244. //4.1 资讯详情
  245. const newsDetail = ref({})
  246. const routeNewsTtitle = ref("");
  247. //4.2 发布日期
  248. const time = ref("");
  249. // 图片列表
  250. const imgList = ref([]);
  251. const img_one = ref("");
  252. //4.3 获取详情
  253. let seoTitle;
  254. let seoDescription;
  255. let seoKeywords;
  256. async function getPageData() {
  257. const mkdata = await requestDataPromise('/web/getWebsiteProjectInfo', {
  258. method: 'GET',
  259. query: {
  260. 'id': articleId
  261. },
  262. });
  263. if (mkdata.code == 200) {
  264. //获取内容
  265. newsDetail.value = mkdata.data;
  266. //获取发布时间
  267. time.value = newsDetail.value.updated_at.split(' ')[0];
  268. //修正标题长度
  269. if (newsDetail.value.title.length >= 20) {
  270. routeNewsTtitle.value = newsDetail.value.title.substr(0, 20) + "...";
  271. } else {
  272. routeNewsTtitle.value = newsDetail.value.title
  273. }
  274. // 图片列表
  275. imgList.value = JSON.parse(mkdata.data.imgurl);
  276. img_one.value = imgList.value[0];
  277. seoTitle = newsDetail.value.title;
  278. seoDescription = newsDetail.value.description;
  279. seoKeywords = newsDetail.value.keyword;
  280. } else {
  281. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  282. console.log("错误位置:获取详情内容")
  283. console.log("后端错误反馈:", mkdata.message)
  284. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  285. }
  286. }
  287. getPageData();
  288. //4.新闻详情 end ---------------------------------------->
  289. // 推荐
  290. let getJson1 = [
  291. { "level": "1,12,0" },
  292. ]
  293. let jsonString1 = JSON.stringify(getJson1);
  294. getPageHotData(jsonString1);
  295. // 获取推荐数据
  296. let recommend = ref([]);
  297. async function getPageHotData(jsonString1) {
  298. const mkdata = await requestDataPromise('/web/getWebsiteProject', {
  299. method: 'GET',
  300. query: {
  301. 'id': jsonString1
  302. },
  303. });
  304. console.log('mkdata_HotData', mkdata.data)
  305. if (mkdata.code == 200) {
  306. if (mkdata.data.length > 0) {
  307. recommend.value = mkdata.data[0].img_num;
  308. }
  309. } else {
  310. ElMessage.error(mkdata.message)
  311. }
  312. }
  313. //5.设置seo信息 start---------------------------------------->
  314. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  315. method: 'GET',
  316. query: {
  317. 'catid': parent_id.value
  318. },
  319. });
  320. if (setData.code == 200) {
  321. let seoSuffix = setData.data.suffix;
  322. let seoName = setData.data.website_name;
  323. useSeoMeta({
  324. title: seoTitle + "_" + seoName + "_" + seoSuffix,
  325. meta: [
  326. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  327. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  328. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
  329. ]
  330. });
  331. } else {
  332. console.log("设置频道页SEO出错!", setData.message)
  333. }
  334. //5.设置seo信息 end---------------------------------------->
  335. //6.广告 start ---------------------------------------->
  336. let adImg1 = ref([]);
  337. let adImg2 = ref([]);
  338. onMounted(async () => {
  339. const { $webUrl, $CwebUrl } = useNuxtApp();
  340. //广告1
  341. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_detail_0001`
  342. const responseAd1 = await fetch(url, {
  343. headers: {
  344. 'Content-Type': 'application/json',
  345. 'Userurl': $CwebUrl,
  346. 'Origin': $CwebUrl
  347. }
  348. });
  349. const resultAd1 = await responseAd1.json();
  350. adImg1.value = resultAd1.data[0];
  351. //广告2
  352. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_detail_0002`
  353. const responseAd2 = await fetch(url2, {
  354. headers: {
  355. 'Content-Type': 'application/json',
  356. 'Userurl': $CwebUrl,
  357. 'Origin': $CwebUrl
  358. }
  359. });
  360. const resultAd2 = await responseAd2.json();
  361. adImg2.value = resultAd2.data[0];
  362. })
  363. //6.广告 end ---------------------------------------->
  364. //8.页面图片放大 start---------------------------------------->
  365. const previewVisible = ref(false)
  366. const selectedImage = ref(' ')
  367. const openPreview = (event) => {
  368. if (event.target.tagName === 'IMG') {
  369. selectedImage.value = event.target.src;
  370. previewVisible.value = true;
  371. }
  372. }
  373. const closePreview = () => {
  374. previewVisible.value = false;
  375. }
  376. //8.页面图片放大 end---------------------------------------->
  377. </script>
  378. <style lang="less" scoped>
  379. @import url('@/assets/css/project/detail.less');
  380. </style>
  381. <style lang="less" scoped>
  382. @media screen and (min-width:801px){/*pc*/
  383. .pc_none{display:none;}
  384. }
  385. @media screen and (max-width:800px){/*ipad_phone*/
  386. .index_main{width:100%;margin:0px auto 30px;}
  387. .breadcrumb_box {
  388. height: 22px;
  389. width: 92%;
  390. margin: 10px auto;
  391. word-break: keep-all;
  392. white-space: nowrap;
  393. overflow: hidden;
  394. text-overflow: ellipsis;
  395. font-size: 14px;
  396. color: #666;
  397. * {
  398. font-size: 14px;
  399. display: inline;
  400. color: #666;
  401. line-height: 22px;
  402. height: 22px;
  403. margin-right: 5px;
  404. }
  405. }
  406. .index_2{width:92%;margin:0px auto 0px;display:block;}
  407. .index_2_img{width:auto;max-width:100%;height:302px;margin:0px auto 0px;float:none;display:block;border-radius:8px;}
  408. .index_2_right{width:100%;margin:0px auto 0px;float:none;
  409. .index_2_li{margin-bottom:20px;width:49%; }
  410. .index_2_li:nth-of-type(odd){float:left;}
  411. .index_2_li:nth-of-type(even){float:right;}
  412. .index_2_li:nth-of-type(1){width:100%;}
  413. .index_2_li:nth-last-of-type(1){width:100%;}
  414. .index_2_li:nth-last-of-type(2){width:33%; }
  415. .index_2_li:nth-last-of-type(3){width:65%; }
  416. .index_2_li:nth-of-type(n+6){ width:100%;}
  417. .index_2_li .index_2_li_label{line-height:18px;height:18px;font-size:14px;
  418. min-width:auto;margin-right:8px;}
  419. .index_2_li .index_2_li_text{line-height:18px; font-size:14px;flex:1;
  420. box-sizing:border-box;
  421. word-wrap: break-word;
  422. overflow-wrap: break-word;
  423. white-space: pre-wrap;
  424. word-break: break-all;
  425. }
  426. .index_2_li:nth-of-type(5) .index_2_li_text{ height:auto;
  427. word-wrap: break-word;
  428. overflow-wrap: break-word;
  429. white-space: pre-wrap;
  430. word-break: break-all;
  431. }
  432. }
  433. .index_2_h4{font-size:16px;line-height:26px;margin-top:11px;border:0px;padding-bottom:0px;}
  434. .phone_box_1{
  435. width:92%;margin:0px auto 0px;
  436. .phone_box_1_head{
  437. height:50px;line-height:50px;
  438. background:#fff;border-bottom:1px solid #E6E6E6;
  439. width:100%;
  440. a{
  441. float:left;height:50px;line-height:50px;margin:0;position:relative;
  442. color:#489d97;font-size:18px; font-weight:bold;box-sizing:border-box;
  443. position:relative;padding-left:8px;
  444. }
  445. a::before{
  446. content: '';display: block;
  447. position:absolute;left:0px;top:18px;
  448. background: linear-gradient(to top, #0998A9, #6ADDD6);
  449. width:3px;height:15px;
  450. }
  451. }
  452. }
  453. .phone_box_2{
  454. width:92%;margin:0px auto 0px;
  455. .phone_box_1_head{
  456. height:50px;line-height:50px;
  457. background:#fff;border-bottom:1px solid #E6E6E6;
  458. width:100%;
  459. a{
  460. float:left;height:50px;line-height:50px;margin:0;position:relative;
  461. color:#489d97;font-size:18px; font-weight:bold;box-sizing:border-box;
  462. position:relative;padding-left:8px;
  463. }
  464. a::before{
  465. content: '';display: block;
  466. position:absolute;left:0px;top:18px;
  467. background: linear-gradient(to top, #0998A9, #6ADDD6);
  468. width:3px;height:15px;
  469. }
  470. }
  471. }
  472. .show_article{
  473. width:92%!important;margin:15px auto 0px!important;
  474. line-height:26px!important;
  475. min-height:100px;
  476. }
  477. .show_article, .show_article:deep(*){
  478. font-size:16px!important;line-height:26px!important;
  479. }
  480. .show_article_2{
  481. width:92%!important;margin:15px auto 0px!important;
  482. line-height:26px!important;
  483. min-height:100px;
  484. }
  485. .show_article_2, .show_article_2:deep(*){
  486. font-size:16px!important;line-height:26px!important;
  487. }
  488. .phone_box_3{
  489. width:92%;margin:0px auto 0px;
  490. .phone_box_1_head{
  491. height:50px;line-height:50px;
  492. background:#fff;border-bottom:1px solid #E6E6E6;
  493. width:100%;
  494. a{
  495. float:left;height:50px;line-height:50px;margin:0;position:relative;
  496. color:#489d97;font-size:18px; font-weight:bold;box-sizing:border-box;
  497. position:relative;padding-left:8px;
  498. }
  499. a::before{
  500. content: '';display: block;
  501. position:absolute;left:0px;top:18px;
  502. background: linear-gradient(to top, #0998A9, #6ADDD6);
  503. width:3px;height:15px;
  504. }
  505. }
  506. }
  507. .img_ul_1{
  508. width:92%;
  509. margin:0px auto 0px;
  510. .img_li_1{
  511. width:100%;margin:15px 0px 0px;
  512. min-height:100px;float:none;height:auto;
  513. }
  514. }
  515. .phone_box_4{
  516. width:92%;margin:0px auto 0px;
  517. .phone_box_1_head{
  518. height:50px;line-height:50px;
  519. background:#fff;border-bottom:1px solid #E6E6E6;
  520. width:100%;
  521. a{
  522. float:left;height:50px;line-height:50px;margin:0;position:relative;
  523. color:#489d97;font-size:18px; font-weight:bold;box-sizing:border-box;
  524. position:relative;padding-left:8px;
  525. }
  526. a::before{
  527. content: '';display: block;
  528. position:absolute;left:0px;top:18px;
  529. background: linear-gradient(to top, #0998A9, #6ADDD6);
  530. width:3px;height:15px;
  531. }
  532. }
  533. }
  534. .phone_img_ul{
  535. width:92%;overflow:hidden;min-height:447px;
  536. margin:0 auto 0;
  537. .phone_img_li{ width:48%; margin-top:15px;}
  538. .phone_img_li:nth-of-type(odd){float:left;}
  539. .phone_img_li:nth-of-type(even){float:right;}
  540. .phone_img_li_a{width:100%;display:block;}
  541. .phone_img_li_img{display:block;width:100%;height:44vw;}
  542. .phone_img_li_dot2{
  543. color: #333;
  544. font-size: 4vw;
  545. height: 10vw;
  546. line-height: 5vw;
  547. margin-top: 6px;
  548. width: 100%;}
  549. }
  550. .index_3{margin-top:0px;}
  551. .index_4{margin-top:0px;}
  552. .phone_none{display:none;}
  553. }
  554. </style>